package com.yunxun.coinmessage.controller;

import com.yunxun.coinmessage.entity.RecordVip;
import com.yunxun.coinmessage.service.RecordVipService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class RecordVipController {
    @Autowired
    RecordVipService recordVipService;
    @RequestMapping("/addRecordVip")
    @ResponseBody
    public void addRecordVip(RecordVip recordVip){
        recordVipService.addRecordVip(recordVip);
    }
}
